<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>商品列表</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<%-- <form action="" method="post"
			id="search" name="search">
			<ul class="searchform">
				<li><label>根据商品名称查询</label> 
				<input class="scinput" name="studentName" type="text" value="#goods.goodsname" /></li>
				<li><label>根据毕业院校查询</label> 
				<input class="scinput" name="studentUniversity" type="text" value="${studentUniversity}" /></li>
				<li><label>根据所属班级查询</label> 
				<input class="scinput" name="studentClass" type="text" value="${studentClass}" /> 
				<select id="studentClass" name="studentClass" class="searcherSelect">
						<option value="" selected="selected">----全部----</option>
						<c:forEach items="${Clist}" var="clist">
							<option value="${clist.getC_name()}" ${clist.getC_name() == studentClass ? "selected":"" }>${clist.getC_name()}</option>
						</c:forEach>
					</select>
				</li>
				<li><label>根据授课教师查询</label> 
				<select id="studentMonitor" name="studentMonitor" class="searcherSelect">
						<option value="" selected="selected">----全部----</option>
						<c:forEach items="${Clist}" var="clist">
							<option value="${clist.getC_teacher()}" ${clist.getC_teacher() == studentMonitor ? "selected":"" }>${clist.getC_teacher()}</option>
						</c:forEach>
					</select>
					</li>
				<li><label>根据所学课程查询</label> 
				<input class="scinput" name="studentDirection" type="text" value="${studentDirection}" />
				<select id="studentDirection" name="studentDirection" class="searcherSelect">
						<option value="" selected="selected">----全部----</option>
						<c:forEach items="${Clist}" var="clist">
							<option value="${clist.getC_direction()}" ${clist.getC_direction() == studentDirection ? "selected":"" }>${clist.getC_direction()}</option>
						</c:forEach>
					</select>
				</li>
				<li><label>根据学员状态查询</label> 
					<select id="studentState" name="studentState" class="searcherSelect">
						<option value="" selected="selected">----全部----</option>
						<c:forEach items="${Dlist}" var="dlist">
							<option value="${dlist.getValue()}" ${dlist.getValue() == studentState ? "selected":"" }>${dlist.getValuename()}</option>
						</c:forEach>
					</select>
				</li>
				<li>
				<li><label>根据入班时间查询</label> 
					从&nbsp;<input class="scinput" name="student_begin_time" type="text"
					value="${student_begin_time}"
					onFocus="WdatePicker({lang:'zh-cn'})" /> 
					到&nbsp;<input class="scinput" name="student_end_time" type="text"
					value="${student_end_time}" onFocus="WdatePicker({lang:'zh-cn'})" /></li>
			</ul>
			<ul class="searchform">
				<li><input type="button" class="scbtn" value=" "
					onClick="" /></li>
			</ul>
			<ul style="text-align: right;">
				<li><a href="javascript:void(0);" onclick="doRegiste()"><img
						alt="添加" src="images/tongyong_kaihu.gif"></a>
						<a href="javascript:void(0);" onclick="doInsert()"><img
						alt="添加" src="images/tongyong_add.gif"></a>
						 <a href="javascript:void(0);" onclick="doUpdate()"><img alt="修改"
						src="images/tongyong_edit.gif"></a> 
						<a href="javascript:void(0);" onclick="doDelete()"><img alt="删除"
						src="images/tongyong_del.gif"></a></li>

			</ul>
		</form>
   --%>
	<TABLE class=house-list>
		<thead>
			<tr>
				<th>商品名</th>
				<th>价格</th>
				<th>描述</th>
			</tr>
		</thead>
		<s:iterator value="Glist" id="goods">
			<tr>
				<td><s:property value="#goods.goodsname" />
				<td><s:property value="#goods.price" />
				<td><s:property value="#goods.remark" />
				<td>
			</tr>
		</s:iterator>
	</TABLE>
</body>
</html>
